<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>range</title>
  <link rel='stylesheet' href='./layout.css'>
</head>
<body>
  年龄：<input type='range' value='0'><br>
  你的年龄：<span>0</span>&nbsp;岁
  <script src='//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js'></script>
  <script src='./main.js'></script>
</body>
</html>
